package com.suoluo.zenadmin.vo.country;

import java.util.ArrayList;
import java.util.List;

public class ContinentVO {
	/**
	 * 洲信息Id
	 */
	private int continentId;
	/**
	 * 洲名称
	 */
	private String continentName;
	/**
	 * 洲描述
	 */
	private String continentDesc;
	/**
	 * 洲图片路径
	 */
	private String continentImg;
	
	private List<CountryVO> countrys;
	
	
	public int getContinentId() {
		return continentId;
	}
	public void setContinentId(int continentId) {
		this.continentId = continentId;
	}
	public String getContinentName() {
		return continentName;
	}
	public void setContinentName(String continentName) {
		this.continentName = continentName;
	}
	public String getContinentDesc() {
		return continentDesc;
	}
	public void setContinentDesc(String continentDesc) {
		this.continentDesc = continentDesc;
	}
	public String getContinentImg() {
		return continentImg;
	}
	public void setContinentImg(String continentImg) {
		this.continentImg = continentImg;
	}

	public void addCountry(CountryVO country){
		if (countrys == null){
			countrys = new ArrayList<CountryVO>();
		}
		countrys.add(country);
	}
	public List<CountryVO> getCountrys() {
		return countrys;
	}
	public void setCountrys(List<CountryVO> countrys) {
		this.countrys = countrys;
	}
	
}
